package pl.enigmatic.parser.string.java.lang;

import pl.enigmatic.parser.string.Converter;


public class BooleanConverter extends Converter.Primitive<Boolean> {

	@Override
	protected Boolean convertEmptyString() {
		return false;
	}

	@Override
	protected Boolean convertNonEmptyString(final String value) {
		return Boolean.parseBoolean(value);
	}

}
